package com.xmy.cultivate.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum TemplateSendTypeEnum {

    ZERO(0,"到校提醒"),
    ONE(1,"离校提醒"),
    TWO(2,"上课提醒"),
    THREE(3,"课时消耗"),
    FOURE(4,"缺课提醒"),
    FIVE(5,"家长成绩填写通知"),
    SIX(6,"预分班通知"),
    SEVEN(7,"课程取消通知"),
    EIGHT(8,"账号登录成功通知"),
    NINE(9,"课程学习完成通知"),
    TEN(10,"10"),
    ELEVEN(11,"11"),
    TWELVE(12,"12");

    @EnumValue
    private Integer key;

    @JsonValue
    private String value;

    TemplateSendTypeEnum(Integer key, String value){
        this.key = key;
        this.value = value;
    }
}
